import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';
import 'package:finance_app/src/entities/transaction_entity.dart';

class CpfContributionEntity with JsonConvert<CpfContributionEntity> {
  int id;
  String number;
  List<TransactionEntity> payments;
  @JSONField(name: "payment_type_id")
  int paymentTypeID;
  @JSONField(name: "paid_at")
  String paidAt;
  @JSONField(name: "employee_cpf")
  num employeeCpf;
  @JSONField(name: "employer_cpf")
  num employerCpf;
  @JSONField(name: "cpf_overdue_interest")
  num cpfOverdueInterest;
  num fwl;
  @JSONField(name: "fwl_overdue_interest")
  num fwlOverdueInterest;
  num sdl;
  @JSONField(name: "community_donation")
  num communityDonation;
  @JSONField(name: "community_donation_donors")
  int communityDonationDonors;
  num mbmf;
  @JSONField(name: "mbmf_donors")
  int mbmfDonors;
  num sinda;
  @JSONField(name: "sinda_donors")
  int sindaDonors;
  num cdac;
  @JSONField(name: "cdac_donors")
  int cdacDonors;
  num ecf;
  @JSONField(name: "ecf_donors")
  int ecfDonors;
  String status;
  @JSONField(name: "company_id")
  int companyID;
  @JSONField(name: "start_date")
  String startDate;
  @JSONField(name: "end_date")
  String endDate;
  String month;
  String year;
  num total;
}
